package com.tour.pojo;

import java.util.Date;

public class Scenic {
    private Integer scenicId;

    private Integer parentId;

    private String scName;

    private Boolean isParent;

    private Boolean isAddress;

    private Boolean isFinal;

    private Date createTime;

    private Date updateTime;

    public Scenic(Integer scenicId, Integer parentId, String scName, Boolean isParent, Boolean isAddress, Boolean isFinal, Date createTime, Date updateTime) {
        this.scenicId = scenicId;
        this.parentId = parentId;
        this.scName = scName;
        this.isParent = isParent;
        this.isAddress = isAddress;
        this.isFinal = isFinal;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Scenic() {
        super();
    }

    public Integer getScenicId() {
        return scenicId;
    }

    public void setScenicId(Integer scenicId) {
        this.scenicId = scenicId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getScName() {
        return scName;
    }

    public void setScName(String scName) {
        this.scName = scName == null ? null : scName.trim();
    }

    public Boolean getIsParent() {
        return isParent;
    }

    public void setIsParent(Boolean isParent) {
        this.isParent = isParent;
    }

    public Boolean getIsAddress() {
        return isAddress;
    }

    public void setIsAddress(Boolean isAddress) {
        this.isAddress = isAddress;
    }

    public Boolean getIsFinal() {
        return isFinal;
    }

    public void setIsFinal(Boolean isFinal) {
        this.isFinal = isFinal;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}